826870a379354a6b252b0af7b0331b7fyekayo/en/public/header.html|826870a379354a6b252b0af7b0331b7f
<title><?php echo $this->_tpl_vars['lngpack']['ordertitle'] ?> - <?php echo $this->_tpl_vars['lngpack']['sitename'] ?></title>
826870a379354a6b252b0af7b0331b7fyekayo/en/public/header_nav.html|826870a379354a6b252b0af7b0331b7f
<div id="goods_index">
	<div class="goods_tit">
		<div class="left"></div>
		<div class="mid">
			<div class="position">
			<a href="<?php echo $this->_tpl_vars['homelink'] ?>">HOME</a> &raquo; <?php echo $this->_tpl_vars['lngpack']['ordertitle'] ?> &raquo;
			<?php if($this->_tpl_vars['out']=='buylist'){ ?>
			Shopping Cart View
			<?php } elseif($this->_tpl_vars['out']=='buyedit'){ ?>
			Completion of the receipt of information
			<?php } elseif($this->_tpl_vars['out']=='buyok'){ ?>
			Submitted Successfully
			<?php } ?>
			</div>
			<div class="rpos">
			<a href="/index.php?ac=member&at=login">Login</a>
			<a href="/index.php?ac=member&at=reg">Register</a>&nbsp;|&nbsp;
			<a href="/index.php?ac=order&at=list" class="car">Shopping Car</a>
			</div>
		</div>
		<div class="right"></div>
	</div>
	<div class="goods_list_box">
	<?php if($this->_tpl_vars['out']=='buylist'){ ?>
	<!--购物车列表-->
	<script type="text/javascript">
		var order_amout_err = "<?php echo $this->_tpl_vars['lngpack']['order_amout_err'] ?>";
	</script>
	<div class="framecenter margintop8">
			<table style="width:90%;margin:0px auto;margin-top:30px;margin-bottom:30px;">
				<tr>
					<td>
						<table>
							<tr>
								<td><span class="messicon"><img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/cart_go.gif" /></span></td>
								<td><span class="messtext strong fontsize14">Shopping Cart View</span></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td><hr class="hrline"/></td>
				</tr>
				<tr>
					<td style="padding-top:10px">
						<?php if(count($this->_tpl_vars['array']) > 0 ){ ?>
						<form name="mainform" method="post" action="<?php echo $this->_tpl_vars['mlink']['orderupdae'] ?>">
						<table class="tablelist" width="100%" style="margin:0 auto;">
							<tr>
								<td class="td01 center">Trade Name</td>
								<td class="td01 center">Product Number</td>
								<td class="td01 center">Order Price</td>
								<td class="td01 center">Quantity</td>
								<td class="td01 center">Subtotal</td>
								<td class="td01 center">Operating</td>
							</tr>
							<?php if (count($this->_tpl_vars['array'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['array']); $i++){?>
							<tr>
								<td class="td02 center"><a target="_blank" class="infolink05" href="<?php echo $this->_tpl_vars['array'][$i]['link'] ?>"><?php echo $this->_tpl_vars['array'][$i]['title'] ?></a></td>
								<td class="td02 center"><?php echo $this->_tpl_vars['array'][$i]['tsn'] ?></td>
								<td class="td02 center">
									<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['array'][$i]['bprice'] ?>
									<input type="hidden" name="bprice[]" value="<?php echo $this->_tpl_vars['array'][$i]['bprice'] ?>">
									<input type="hidden" name="did[]" value="<?php echo $this->_tpl_vars['array'][$i]['did'] ?>">
								</td>
								<td class="td02 center">
									<input type="text" name="amount[]" id="amount<?php echo $this->_tpl_vars['array'][$i]['did'] ?>" value="<?php echo $this->_tpl_vars['array'][$i]['amount'] ?>" onBlur="javascript:orderamount(<?php echo $this->_tpl_vars['array'][$i]['did'] ?>);" size="2" maxlength="5" class="infoInput">
								</td>
								<td class="td02 center">
									<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['array'][$i]['countprice'] ?>
									<input type="hidden" name="countprice[]" id="countprice" value="<?php echo $this->_tpl_vars['array'][$i]['countprice'] ?>">
								</td>
								<td class="td02 center"><a class="infolink04" href="javascript:if (confirm('Are you sure you removed the goods from the shopping cart you?')) location.href='<?php echo $this->_tpl_vars['array'][$i]['dellink'] ?>';">Delete</a></td>
							</tr>
							<?php }} ?>
							<tr>
								<td colspan="6" class="td02 right"><span class="font05 colorgreg strong">The total amount of goods:<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['ordertotal'] ?></span></td>
							</tr>
							<tr class="tdheight4">
								<td colspan="6" class="td02 right">
									<input type="submit" class="buttonface" name="Submit" value="Update">&nbsp;
									<input name="addch" class="buttonface" type="button" value="Empty Cart" onclick="javascript:if (confirm('Are you sure you want to clear the goods you buy?')) location.href='<?php echo $this->_tpl_vars['mlink']['clearcart'] ?>';">
								</td>
							</tr>
							<tr>
								<td colspan="6" class="td02 center">
									<table class="tablelist" width="100%" style="margin:0 auto;">
										<tr>
											<td class="left"><input name="addch" class="buttonface" type="button" value="Continue shopping" onclick="javascript:location.href='<?php echo $this->_tpl_vars['homelink'] ?>';"></td>
											<td class="right"><input name="addch" class="buttonface" type="button" value="Clearing" onclick="javascript:location.href='<?php echo $this->_tpl_vars['mlink']['orderpay'] ?>';"></td>										</tr>
									</table>
								</td>
							</tr>
						</table>
						</form>
						<?php }else{ ?>
						<table class="tablelist" width="100%" style="margin:0 auto;">
							<tr>
								<td colspan="6" class="td02 center">You have not selected commodities</td>
							</tr>
						</table>
						<?php } ?>
					</td>
				</tr>
			</table>
	</div>
	<?php } elseif($this->_tpl_vars['out']=='buyedit'){ ?>
	<!--购物车信息填写-->
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/ajax_city.js"></script>
	<script type="text/javascript">
	$(function() {
		sec_cityone('<?php echo $this->_tpl_vars['member']['country'] ?>','<?php echo $this->_tpl_vars['member']['province'] ?>');
		sec_citytwo('<?php echo $this->_tpl_vars['member']['province'] ?>','<?php echo $this->_tpl_vars['member']['city'] ?>');
		sec_district('<?php echo $this->_tpl_vars['member']['city'] ?>','<?php echo $this->_tpl_vars['member']['district'] ?>');
	});
	var citytwo_title = "<?php echo $this->_tpl_vars['lngpack']['citytwo_title'] ?>";
	var citythree_title = "<?php echo $this->_tpl_vars['lngpack']['citythree_title'] ?>";
	var district_title = "<?php echo $this->_tpl_vars['lngpack']['district_title'] ?>";
	var count_city_err = "<?php echo $this->_tpl_vars['lngpack']['count_city_err'] ?>";
	var address_title = "<?php echo $this->_tpl_vars['lngpack']['address_title'] ?>";
	var zipcode_empty = "<?php echo $this->_tpl_vars['lngpack']['zipcode_empty'] ?>";
	var alias_empty = "<?php echo $this->_tpl_vars['lngpack']['alias_empty'] ?>";
	var email_err = "<?php echo $this->_tpl_vars['lngpack']['email_err'] ?>";
	var tel_empty = "<?php echo $this->_tpl_vars['lngpack']['tel_empty'] ?>";
	</script>
	<div class="framecenter margintop8">
			<form name="ordersaveform" method="post" action="<?php echo $this->_tpl_vars['mlink']['ordersave'] ?>" onsubmit="return ordersave()">
			<input type="hidden" name="userid" value="<?php echo $this->_tpl_vars['member']['userid'] ?>">
			<input type="hidden" name="productmoney" value="<?php echo $this->_tpl_vars['productmoney'] ?>">
			<input type="hidden" name="discount_productmoney" value="<?php echo $this->_tpl_vars['discount_productmoney'] ?>">
			<input type="hidden" name="discountmoney" value="<?php echo $this->_tpl_vars['discountmoney'] ?>">
			<table style="width:90%;margin:0px auto;margin-top:30px;margin-bottom:30px;">
				<tr>
					<td>
						<table width="100%">
							<tr>
								<td width="5%"><span class="messicon"><img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/cart_go.gif" /></span></td>
								<td width="50%" class="left"><span class="messtext strong fontsize14">Completion of the receipt of information</span> </td>
								<td class="right"><a class="linimage" href="<?php echo $this->_tpl_vars['mlink']['buylist'] ?>">Modify the list of goods ordered</a></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td><hr class="hrline"/></td>
				</tr>
				<?php if(count($this->_tpl_vars['array']) > 0 ){ ?>
				<tr>
					<td style="padding-top:10px">
						<table class="tablelist" width="100%" style="margin:0 auto;">
							<tr>
								<td class="td01 center">Trade Name</td>
								<td class="td01 center">Product Number</td>
								<td class="td01 center">Order Price</td>
								<td class="td01 center">Quantity</td>
								<td class="td01 center">Subtotal</td>
							</tr>
							<?php if (count($this->_tpl_vars['array'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['array']); $i++){?>
							<tr>
								<td class="td02 center">
									<input type="hidden" name="ptitle[]" value="<?php echo $this->_tpl_vars['array'][$i]['title'] ?>">
									<a target="_blank" class="infolink05" href="<?php echo $this->_tpl_vars['array'][$i]['link'] ?>"><?php echo $this->_tpl_vars['array'][$i]['title'] ?></a>
								</td>
								<td class="td02 center"><input type="hidden" name="tsn[]" value="<?php echo $this->_tpl_vars['array'][$i]['tsn'] ?>"><?php echo $this->_tpl_vars['array'][$i]['tsn'] ?></td>
								<td class="td02 center">
									<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['array'][$i]['bprice'] ?>
									<input type="hidden" name="bprice[]" value="<?php echo $this->_tpl_vars['array'][$i]['bprice'] ?>">
									<input type="hidden" name="oprice[]" value="<?php echo $this->_tpl_vars['array'][$i]['oprice'] ?>">
									<input type="hidden" name="did[]" value="<?php echo $this->_tpl_vars['array'][$i]['did'] ?>">
								</td>
								<td class="td02 center"><?php echo $this->_tpl_vars['array'][$i]['amount'] ?><input type="hidden" name="amount[]" id="orderhow" value="<?php echo $this->_tpl_vars['array'][$i]['amount'] ?>"></td>
								<td class="td02 center"><?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['array'][$i]['countprice'] ?><input type="hidden" name="countprice[]" id="countprice" value="<?php echo $this->_tpl_vars['array'][$i]['countprice'] ?>"></td>
							</tr>
							<?php }} ?>
							<tr>
								<td colspan="6" class="td02 right"><span class="font05 colorgreg strong">The total amount of goods:<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['productmoney_f'] ?> - Discount<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['discountmoney'] ?> = <?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['discount_productmoney_f'] ?></span></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
							<tr>
								<td><span class="messicon"><img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/page_edit.gif" /></span></td>
								<td><span class="messtext strong fontsize14">Completion of the receipt of information</span> </td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td><hr class="hrline"/></td>
				</tr>
				<tr>
					<td style="padding-top:10px">
						<table class="tablelist" width="100%" style="margin:0 auto;">
							<tr>
							    <td class="td02 right" width="20%">Recipient Name：</td>
							    <td class="td02 left"><input type="text" name="alias" value="<?php echo $this->_tpl_vars['member']['alias'] ?>" maxlength="50" size="20" class="infoInput"></td>
							</tr>
							<tr>
							    <td class="td02 right">E-mail：</td>
							    <td class="td02 left"><input type="text" name="email" value="<?php echo $this->_tpl_vars['member']['email'] ?>" maxlength="100" size="50" class="infoInput"></td>
							</tr>
							<tr>
							    <td class="td02 right">Address：</td>
							    <td class="td02 left">
								<select size="1" name="cityone" class="select" id="cityone">
								    <option value="0" <?php if($this->_tpl_vars['member']['country']==0){ ?>selected<?php } ?>><?php echo $this->_tpl_vars['lngpack']['cityone_title'] ?></option>
								    <option value="1" <?php if($this->_tpl_vars['member']['country']==1){ ?>selected<?php } ?>>CHINA</option>
								</select>
								<select size="1" name="citytwo" class="select" id="citytwo">
								    <option selected value="0"><?php echo $this->_tpl_vars['lngpack']['citytwo_title'] ?></option>
								</select>
								<select size="1" name="citythree" class="select" id="citythree">
								    <option selected value="0"><?php echo $this->_tpl_vars['lngpack']['citythree_title'] ?></option>
								</select>
								<select size="1" name="district" class="select" id="district">
								    <option selected value="0"><?php echo $this->_tpl_vars['lngpack']['district_title'] ?></option>
								</select>
								<span id="loading">Loading</span>
							    </td>
							</tr>
							<tr>
								<td class="td02 right">Address：</td>
								<td class="td02 left"><input type="text" name="address" value="<?php echo $this->_tpl_vars['member']['address'] ?>" maxlength="120" size="60" class="infoInput"></td>
							</tr>
							<tr>
								<td class="td02 right">ZipCode：</td>
								<td class="td02 left"><input type="text" name="zipcode" value="<?php echo $this->_tpl_vars['member']['zipcode'] ?>" maxlength="10" size="10" class="infoInput"></td>
							</tr>
							<tr>
							    <td class="td02 right">TEL：</td>
							    <td class="td02 left"><input type="text" name="tel" value="<?php echo $this->_tpl_vars['member']['tel'] ?>" maxlength="50" size="50" class="infoInput"></td>
							</tr>
							<tr>
							    <td class="td02 right">Mobile：</td>
							    <td class="td02 left"><input type="text" name="mobile" value="<?php echo $this->_tpl_vars['member']['mobile'] ?>" maxlength="50" size="50" class="infoInput"></td>
							</tr>
							<tr>
							    <td class="td02 right">Sendtime：</td>
							    <td class="td02 left">
								<select size="1" name="sendtime" class="select">
								    <option value="1" selected>Working day, weekend and holiday delivery available</option>
								    <option value="2">Only weekends, holidays and delivery (working days do not send)</option>
								    <option value="3">Only working days delivery (weekends, holidays do not send)</option>
								    <option value="4">Try to arrange delivery time, please Remarks</option>
								</select>
							    </td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
							<tr>
								<td><span class="messicon"><img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/page_edit.gif" /></span></td>
								<td><span class="messtext strong fontsize14">Delivery mode</span> </td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td><hr class="hrline"/></td>
				</tr>
				<tr>
					<td style="padding-top:10px">
						<table class="tablelist" width="100%" style="margin:0 auto;">
							<?php if(count($this->_tpl_vars['shipplug']) > 0 ){ ?>
							<?php if (count($this->_tpl_vars['shipplug'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['shipplug']); $i++){?>
							<tr>
							    <td class="td02 right" width="20%"><?php echo $this->_tpl_vars['shipplug'][$i]['title'] ?></td>
							    <td class="td02 left">
								    <input type="radio" name="osid" value="<?php echo $this->_tpl_vars['shipplug'][$i]['osid'] ?>"<?php if($this->_tpl_vars['shipplug'][$i]['selected']==selected){ ?> checked<?php } ?>>
							            Shipping:<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['shipplug'][$i]['price'] ?> <BR><?php echo $this->_tpl_vars['shipplug'][$i]['content'] ?>
							    </td>
							</tr>
							<?php }} ?>
							<?php }else{ ?>
							<tr>
							    <td class="center">No delivery methods</td>
							</tr>
							<?php } ?>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
							<tr>
								<td><span class="messicon"><img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/page_edit.gif" /></span></td>
								<td><span class="messtext strong fontsize14">Payment</span> </td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td><hr class="hrline"/></td>
				</tr>
				<tr>
					<td style="padding-top:10px">
						<table class="tablelist" width="100%" style="margin:0 auto;">
							<?php if(count($this->_tpl_vars['payplug']) > 0 ){ ?>
							<?php if (count($this->_tpl_vars['payplug'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['payplug']); $i++){?>
							<tr>
							    <td class="td02 right" width="20%"><?php echo $this->_tpl_vars['payplug'][$i]['payname'] ?></td>
							    <td class="td02 left">
								    <input type="radio" name="opid" value="<?php echo $this->_tpl_vars['payplug'][$i]['opid'] ?>"<?php if($this->_tpl_vars['payplug'][$i]['selected']==selected){ ?> checked<?php } ?>>
							            Fee ratio：<?php echo $this->_tpl_vars['payplug'][$i]['payis'] ?>% <BR><?php echo $this->_tpl_vars['payplug'][$i]['paycontent'] ?>
							    </td>
							</tr>
							<?php }} ?>
							<?php }else{ ?>
							<tr>
							    <td class="center">No payment</td>
							</tr>
							<?php } ?>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
							<tr>
								<td><span class="messicon"><img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/page_edit.gif" /></span></td>
								<td><span class="messtext strong fontsize14">Other information</span> </td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td><hr class="hrline"/></td>
				</tr>
				<tr>
					<td style="padding-top:10px">
						<table class="tablelist" width="100%" style="margin:0 auto;">
							<tr>
							    <td class="td02 right" width="20%">Notes：</td>
							    <td class="td02 left"><textarea name="content" rows="3" cols="60"></textarea></td>
							</tr>
							<tr>
							    <td class="td02 right" width="20%">Invoice：</td>
							    <td class="td02 left"><input type="text" name="invpayee" maxlength="30" size="40" class="infoInput" /></td>
							</tr>
							<tr>
							    <td class="td02 right" width="20%">An invoice：</td>
							    <td class="td02 left"><input type="text" name="invcontent" maxlength="30" size="20" class="infoInput" /></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td class="center" style="padding-top:20px"><input type="submit" name="submit" id="submit" class="buttonface" value="Submit"></td>
				</tr>
				<?php }else{ ?>
				<tr>
					<td style="padding-top:10px">
					<table class="tablelist" width="100%" style="margin:0 auto;">
						<tr>
							<td colspan="6" class="td02 center">You have not selected commodities!</td>
						</tr>
					</table>
					</td>
				</tr>
				<?php } ?>
			</table>
		</form>
	</div>
	<?php } elseif($this->_tpl_vars['out']=='buyok'){ ?>
	<!--订购成功_结算信息-->
	<div class="framecenter margintop8">
			<table style="width:90%;margin:0px auto;margin-top:30px;margin-bottom:30px;">
				<tr>
					<td>
						<table>
							<tr>
								<td><span class="messicon"><img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/cart_go.gif" /></span></td>
								<td><span class="messtext strong fontsize14">Congratulations, your order has been submitted successfully, please remember your order number:<span class="colorgreg"><?php echo $this->_tpl_vars['ordersn'] ?></span></span></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td><hr class="hrline"/></td>
				</tr>
				<tr>
					<td style="padding-top:10px">
						<table class="tablelist" width="100%" style="margin:0 auto;">
							<tr>
								<td class="td02 center">The total amount of your order: Total goods<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['discount'] ?> + Mailing costs<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['shipprice'] ?> + Payment of fees<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['payprice'] ?> = <span class="colorgreg"><?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['orderamount'] ?></span></td>
							</tr>
							<tr>
								<td class="td02 center"><?php echo $this->_tpl_vars['orderonline'] ?></td>
							</tr>
							<tr>
								<td class="td02 center">You can go to:<a class="infolink06" href="<?php echo $this->_tpl_vars['mlink']['center'] ?>">Member Center</a> OR <a class="infolink06" href="<?php echo $this->_tpl_vars['homelink'] ?>">Return to the site first</a></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
	</div>
	<?php } ?>
	</div>
</div>
	<!--版权声明-->
	826870a379354a6b252b0af7b0331b7fyekayo/en/public/footer_nav.html|826870a379354a6b252b0af7b0331b7f
826870a379354a6b252b0af7b0331b7fyekayo/en/public/footer.html|826870a379354a6b252b0af7b0331b7f
